package com.wman.mvp.http

/**
 * @ProjectName: wman
 * @Package: com.wman.mvp.http
 * @ClassName: ResponseListener
 * @Description: java类作用描述
 * @Author: wman
 * @CreateDate: 2020/1/3 11:04
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/1/3 11:04
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
interface ResponseListener<T> {
    abstract fun <T> onSuccess(data: T)
    abstract fun onFail(err: String)
}